home *** CD-ROM | disk | FTP | other *** search
- Path: cedar.cic.net!anderson
- From: anderson@cedar.cic.net (Mark Anderson)
- Newsgroups: comp.lang.c++
- Subject: Passing array to DLL, Help
- Date: 18 Mar 1996 02:22:56 GMT
- Organization: GreatLinks -- Pioneering Partners Project
- Message-ID: <4iihe0$kie@lastactionhero.rs.itd.umich.edu>
- NNTP-Posting-Host: cedar.cic.net
- NNTP-Posting-User: anderson
- X-Newsreader: TIN [version 1.2 PL2]
-
- I wrote a DLL, which has a function taking an array of float and
- returning an array of float. The declaration I used is like:
- float* Func(float*, .......)
- But every time I called it from the test program, the arguement array
- seems to be corrupted( I used "step into" to debug) and it give General
- Protection Fault. Anyone has any idea why this happens. Thanks in advance.
-
- Email response preferred.
-
- anderson@cedar.cic.net
-